]> dgit.raspbian.org Git - gnome-shell.git/commit
StIcon: round icon size to an integer
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 19 Jan 2011 16:34:10 +0000 (11:34 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Wed, 19 Jan 2011 16:54:03 +0000 (11:54 -0500)
commit28adc03cceddce342ce496b60304a029a9f509c9
tree384b06a068ad7979aa949c034d55b2747e31b947
parent68c482ec324fd908e6d9bece8399dcf9a71f4dae
StIcon: round icon size to an integer

Instead of converting a CSS-specified length to an integer by truncation,
round. This means that sizes specified by converting a pixel value into
non-px terms will work reliably instead of potentially being off-by-one.
src/st/st-icon.c